package com.woopsion.spring.contextSupport;

/**
 * @author woopsion
 * @date 2025-06-03
 */
@SuppressWarnings("all")
public class BeanDefinition {
    
    private String beanName;
    
    /**
     * aClass is bean's Class information
     * scope is prototype or singleton
     */
    private Class aClass;

    public String getScope() {
        return scope;
    }

    public void setScope(String scope) {
        this.scope = scope;
    }

    private String scope;

    public Class getaClass() {
        return aClass;
    }

    public void setaClass(Class aClass) {
        this.aClass = aClass;
    }

    @Override
    public String toString() {
        return "BeanDefinition{" +
                "beanName='" + beanName + '\'' +
                ", aClass=" + aClass +
                ", scope='" + scope + '\'' +
                '}';
    }

    public String getBeanName() {
        return beanName;
    }

    public void setBeanName(String beanName) {
        this.beanName = beanName;
    }
}
